import request from '@/utils/request'

// 登录接口
export function login (data) {
    return request({
        url: '/manager/login',
        method: 'post',
        data
    })
}

// 验证码接口
export function getCodeImg (num) {
    return request({
        url: `/manager/captcha?key=${num}`,
        method: 'get',
        responseType: 'blob'
    })
}

